﻿using System.ComponentModel.DataAnnotations;
using YaAppoint.Common;

namespace YaAppoint.Departments
{
    public class DepartmentDto:CommonDto
    {
        /// <summary>
        /// 国标码
        /// </summary>
        [MaxLength(200)]
        public string? GBCode
        {
            get; set;
        }

        /// <summary>
        /// 联系人
        /// </summary>
        [MaxLength(50)]
        public string? ContactPerson
        {
            get; set;
        }

        /// <summary>
        /// 联系电话
        /// </summary>
        [MaxLength(50)]
        public string? PhoneNumber
        {
            get; set;
        }

        /// <summary>
        /// 邮箱地址
        /// </summary>
        [MaxLength(200)]
        public string? EmaiAddress
        {
            get; set;
        }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Desc
        {
            get;set;
        }
       
    }
}
